package com.ruoyi.system.feign;



import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.ruoyi.common.constant.ServiceNameConstants;
import com.ruoyi.system.feign.factory.RemoteFactoryFallbackFactory;


/**
 * 角色 Feign服务层
 *
 * @author zmr
 * @date 2019-05-20
 */
@FeignClient(name = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteFactoryFallbackFactory.class)
public interface RemoteFactoryService
{
    @GetMapping("sysFactory/getRedisFactory/{token}")
    public String selectRedisFactory(@PathVariable("token") String token);
}
